#include "EggShit.h"
EggShit::EggShit(SDL_Surface * img, Point pos) :
GameObject(img, pos), m_isEgg(true), m_isDestroy(false)
{

}
EggShit::~EggShit()
{


}
void EggShit::Update(int speed)
{

	if (bound.y < GROUND - image->clip_rect.h)
		{
			Move(0, speed);
		}
		else
		{
			m_isDestroy = true;
		}
	GameObject::Update();
}



